package com.hsgene.order.dto.details;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.util.Date;

/**
 * 价格编辑信息
 *
 * @author wxf
 * @date 2018/8/21 15:41
 **/
public class OrderDetaulsEditInfoDto implements Serializable {

    /**
     * 收件人名称
     */
    private String consigneeName;

    /**
     * 收件人电话
     */
    private String consigneePhone;

    /**
     * 收件人地址
     */
    private String address;

    /**
     * 子订单ID
     */
    private String itemOrderId;

    /**
     * 单价
     */
    private double univalence;

    /**
     * 优惠价格
     */
    private double totalDiscountsAmount;

    /**
     * 更新时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date updateTime;

    public String getConsigneeName() {
        return consigneeName;
    }

    public void setConsigneeName(String consigneeName) {
        this.consigneeName = consigneeName;
    }

    public String getConsigneePhone() {
        return consigneePhone;
    }

    public void setConsigneePhone(String consigneePhone) {
        this.consigneePhone = consigneePhone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getItemOrderId() {
        return itemOrderId;
    }

    public void setItemOrderId(String itemOrderId) {
        this.itemOrderId = itemOrderId;
    }

    public double getUnivalence() {
        return univalence;
    }

    public void setUnivalence(double univalence) {
        this.univalence = univalence;
    }

    public double getTotalDiscountsAmount() {
        return totalDiscountsAmount;
    }

    public void setTotalDiscountsAmount(double totalDiscountsAmount) {
        this.totalDiscountsAmount = totalDiscountsAmount;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
